//
//  DXWYouxiCell.m
//  pandaTV
//
//  Created by 淡馨慰 on 16/8/22.
//  Copyright © 2016年 淡馨慰. All rights reserved.
//

#import "DXWYouxiCell.h"
#import "DXWYouXiItem.h"
#import <SDWebImage/UIImageView+WebCache.h>


@interface DXWYouxiCell()
@property (weak, nonatomic) IBOutlet UIImageView *youxi_imageView;
@property (weak, nonatomic) IBOutlet UILabel *youxi_label;

@end

@implementation DXWYouxiCell

- (void)setItem:(DXWYouXiItem *)item
{
    _item = item;
    [_youxi_imageView sd_setImageWithURL:[NSURL URLWithString:item.img]];
    _youxi_label.text = item.cname;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

@end
